package top.lucas9.wechat.push.service;

import top.lucas9.wechat.push.common.WeatherApiEnum;
import top.lucas9.wechat.push.entity.WeatherDayResult;
import top.lucas9.wechat.push.entity.WeatherNowResult;

/**
 * @author lucas9
 * @date 2024/10/12 0:13
 */
public interface WeatherRequestService {
    /**
     * 获取城市每日天气
     *
     * @return
     */
    WeatherDayResult getCityDaysWeather(WeatherApiEnum apiEnum, String latitude, String longitude);

    /**
     * 获取城市实时天气
     *
     * @return
     */
    WeatherNowResult getCityNowWeather(String latitude, String longitude);

    /**
     * 获取格点每日天气
     *
     * @return
     */
    WeatherDayResult getGridDaysWeather(WeatherApiEnum apiEnum, String latitude, String longitude);

    /**
     * 获取格点实时天气
     *
     * @return
     */
    WeatherNowResult getGridNowWeather(String latitude, String longitude);
}
